package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.AnswerComment;
import cn.wolfcode.trip.base.query.AnswerCommentQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AnswerCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(@Param("answerComment") AnswerComment answerComment, @Param("answerId") Long answerId);

    AnswerComment selectByPrimaryKey(Long id);

    List<AnswerComment> selectAll();

    int updateByPrimaryKey(AnswerComment record);

    List<AnswerComment> selectForList(@Param("qo") AnswerCommentQuery qo, @Param("answerId") Long answerId);
}